﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using OPMS_IBS.Model;

namespace Test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            TimeTable timeTable = new TimeTable();
            timeTable.TimeTableName = "abc";
            timeTable.OwnLineIBDMID = "1";
            timeTable.ShowColsAmount = 1;
            timeTable.Valid = true;
            timeTable.Type = "1";
            timeTable.TurnAmount = 1;
            timeTable.TokenAmount = 1;
            timeTable.StartStationName = "1";
            timeTable.ShowRowsAmount = 1;
            timeTable.Level = 1;
            timeTable.EndStationName = "1";
            timeTable.EndDate = DateTime.Now;
            timeTable.BeginDate = DateTime.Now;
            timeTable.CreateDate = DateTime.Now;

            var bll = new OPMS_IBS.BLL.TimeTable();
            bll.Add(timeTable);
        }
    }
}
